<!--
 * @autoAdd: zhuxiaobao
-->
<template>
  <div>
    <a-modal v-model="visible" title="获取GIT地址" @ok="handleOk">
      <p>GIT地址：</p>
      <p><a>{{`http://127.0.0.1:9000/psdb/${model.id}.git`}}</a></p>
    </a-modal>
  </div>
</template>

<script>
export default {
  data() {
    return {
      visible: false,
      model:{}
    }
  },
  methods: {
    getGIT(data) {
      this.visible = true
      this.model = data
    },
    handleOk(){
      this.$$emit('ok')
      this.visible = false
    }
  },
}
</script>

<style lang="scss" scoped>
</style>